<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
    <meta charset="UTF-8">
    <title>部门管理</title>
    <%@include file="/static/common/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/layout/department.js"></script>
</head>
<body>

<table id="dept_datagrid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="add()">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="update()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="btn_change"
       onclick="change()">离职</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reload()">刷新</a>
    <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="请输入关键字">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>
</div>
<div id="dept_dialog">
    <form id="dept_form" method="post" style="padding: 40px 0px 0px 30px;">
        <input type="hidden" id="deptId" name="id">
        <table style="border-collapse: separate;border-spacing: 10px;">

            <tr>
                <td>名称</td>
                <td><input type="text" class="easyui-textbox" name="name" align="center"></td>

            </tr>
            <tr>
                <td>编码</td>
                <td><input type="text" class="easyui-textbox" name="sn" align="center"></td>

            </tr>
        </table>
    </form>
</div>
<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" onclick="save()">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="cancel()">关闭</a>
</div>
</body>
</html>
